﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/TempAdmin.master" CodeFile="CategoryDetails.aspx.cs" Inherits="admin_CategoryDetail" %>
  
<asp:Content ID="CategoryDetail" runat="server" ContentPlaceHolderID="ContentRight">
    <form id="CategoryDetailForm" runat="server">
        <table>
               <tr>
                    <td style="width: 245px">
                        <img src="../img/pixel_trans.gif" height="10px" />
                    </td>
               </tr>
               <tr>
                    <td colspan="2" align="center">
                        <asp:Label ID="lblHeader" runat="server" Text="Chi tiết chủng loại sản phẩm" ForeColor="#003300" Font-Size="Large" Font-Bold="True"></asp:Label>
                    </td>                
               </tr>
               <tr>
                    <td style="width: 245px">
                        <img src="../img/pixel_trans.gif" height="10px" />
                    </td>
               </tr>
               <tr>
                    <td colspan="2" align="center">
                        <asp:Label ID="lblMessage" runat="server" ForeColor="#003300"></asp:Label>
                    </td>
               </tr>
               <tr>
                    <td style="width: 245px">
                        <img src="../img/pixel_trans.gif" height="10px" />
                    </td>
               </tr>
               <tr>
                    <td align="right" style="width: 245px">
                        <asp:Label ID="lblID" runat="server" ForeColor="#003300" Text="Mã chủng loại: "></asp:Label>
                    </td>
                    <td style="padding-left:5px;">
                        <asp:Label ID="lblCategoryID" runat="server" ForeColor="#003300"></asp:Label>
                    </td>
               </tr>
               <tr>
                    <td style="width: 245px">
                        <img src="../img/pixel_trans.gif" height="10px" />
                    </td>
               </tr>
               <tr>
                    <td align="right" style="width: 245px">
                        <asp:Label ID="lblName" runat="server" ForeColor="#003300" Text="Tên chủng loại: "></asp:Label>
                    </td>
                    <td style="padding-left:5px;">
                        <asp:TextBox ID="txtCategoryName" runat="server" ForeColor="#003300"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCategoryName" 
                            Display="None" ErrorMessage="Bạn phải nhập tên chủng loại sản phẩm!" ValidationGroup="Category_AddUpdate"></asp:RequiredFieldValidator>
                    </td>
               </tr>
               <tr>
                    <td style="width: 245px">
                        <img src="../img/pixel_trans.gif" height="10px" />
                    </td>
               </tr>
               <tr>
                   <td colspan="2" align="center">
                        <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" Width="72px" 
                            ValidationGroup="Category_AddUpdate" onclick="btnUpdate_Click" />&nbsp;&nbsp;
                        <input id="Reset1" type="reset" runat="server" value="Làm lại" style="width:72px" />&nbsp;&nbsp;
                        <asp:Button ID="btnBack" runat="server" Text="Quay Lại" Width="72px" 
                            onclick="btnBack_Click"/>&nbsp;&nbsp;
                        <asp:Button ID="btnDelete" runat="server" Text="Xóa" Width="72px" 
                            onclick="btnDelete_Click"/>           
                   </td>
               </tr>
               <tr>
                    <td align="center" colspan="2">
                        <asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="Category_AddUpdate" ForeColor="Red" DisplayMode="BulletList" runat="server" />
                    </td>
               </tr>
        </table>
    </form>    
</asp:Content>
